package com.sgfm.event.processor;

import org.apache.log4j.Logger;

import com.sgfm.client.ClientsSender;
import com.sgfm.util.XmlDataUtils;

public abstract class CallProcessor implements Processor {
	
	private static Logger logger = Logger.getLogger(CallProcessor.class);
	
	protected String requestData;
	
	protected ClientsSender clients;

	@Override
	public void doIncomingCall() {
		String appId = XmlDataUtils.getValueByName(this.requestData, "appId");
		String callId = XmlDataUtils.getValueByName(this.requestData, "callId");
		String caller = XmlDataUtils.getValueByName(this.requestData, "caller");
		
	}

	@Override
	public void doDirectBegin() {
		// TODO Auto-generated method stub

	}

	@Override
	public void doCallBackBegin() {
		// TODO Auto-generated method stub

	}

	@Override
	public void doIncomingCallack() {
		// TODO Auto-generated method stub

	}

	@Override
	public void doCallStat() {
		// TODO Auto-generated method stub

	}

	@Override
	public void doDirectToService() {
		// TODO Auto-generated method stub

	}

	@Override
	public void doCallDisConnect() {
		// TODO Auto-generated method stub

	}

	@Override
	public void doCallBill() {
		// TODO Auto-generated method stub

	}
}
